﻿<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<title>Music Store 后台商品管理</title>

<div id="content-title">
	<h3>商品管理</h3>
</div>
<div id="content-main">
	<!-- 唱片分类,唱片名称 -->
	<hr />
	<a href="album_edit">添加新唱片</a>
	<table id="album-list">
		<tr>
			<th>唱片名称</th>
			<th>歌手</th>
			<th>单价</th>
			<th>编辑</th>
		</tr>
		<c:forEach var="i" items="${albums}">
			<tr>
				<th>${i.title }</th>
				<th>${i.artist }</th>
				<th>${i.price }</th>
				<th><a href="hom/album_update?id=${i.id }">修改</a></th>
			</tr>
		</c:forEach>
	</table>
</div>


